import Vue from 'vue'
import Router from 'vue-router'
import Hello from '@/components/Hello'
Vue.use(Router);
export default new Router({
  // base:'/vote/',
  routes: [
    {
      path: '/',
      name: 'Hello',
      component: resolve => require(['@/components/Hello'], resolve),
      meta: { keepAlive: true } // false为不缓存
    }
  ]
})
